package com.qf.vip.service;

import com.github.pagehelper.PageInfo;
import com.qf.vip.entity.Users;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_vip
 * @Package com.qf.vip.service
 * @Description: ${TODO}
 * @Date 2021/10/3 15:58
 */
public interface UsersService {

    void update(Users users);

    Users findByNameAndPwd(String name,String pwd);

    List<Users> findAll();

    PageInfo<Users> findByTypeIdAndPage(Integer pageNum,Integer pageSize,Integer typeId);
}
